package com.example.springboot.service;

import com.example.springboot.common.Result;
import com.example.springboot.entity.PopulationStatistics;
import com.example.springboot.mapper.ProcreateMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 功能：生育率服务
 * 作者：陈雷
 * 日期：2024/11/17 18:19
 */

@Service
public class ProcreateService {
    @Autowired
    private ProcreateMapper procreateMapper;

    public List<PopulationStatistics> selectAll() {
        return procreateMapper.selectAll();

    }
}